# 模块级别夹具
# def setUpModule():
#     pass
# def tearDownModule():
#     pass

# 方法夹具，类夹具
import unittest
class TestLogin(unittest.TestCase):
    def setUp(self) -> None:
       print('2. 打开⽹⻚, 点击登录')
    def tearDown(self) -> None:
       print('4. 关闭⽹⻚')
    @classmethod
    def setUpClass(cls) -> None:
       print('1. 打开浏览器')
    @classmethod
    def tearDownClass(cls) -> None:
       print('5. 关闭浏览器')
    def test_1(self):
       print('3. 输⼊⽤户名密码验证码1,点击登录 ')
    def test_2(self):
       print('3. 输⼊⽤户名密码验证码2,点击登录 ')
    def test_3(self):
       print('3. 输⼊⽤户名密码验证码3,点击登录 ')

if __name__ == '__main__':
    unittest.main()